(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <stdio.h>
int puts()
SYNOPSIS
const char * str

FUNCTION
Print a string to stdout. A newline ('\n') is emmitted after the string.

INPUTS
str
Print this string
RESULT
> 0 on success and EOF on error. On error, the reason is put in errno.

NOTES
EXAMPLE
#include <errno.h>

if (puts ("Hello World.") != EOF)
    fprintf (stderr, "Success");
else
    fprintf (stderr, "Failure: errno=%d", errno);

BUGS
SEE ALSO
fputs(), printf(), fprintf(), putc(), fputc()
INTERNALS
HISTORY
20.01.1997 digulla
puts() write to stdout, not to a specified stream.
11.12.1996 aros
Added/corrected headers
10.12.1996 aros
New functions